﻿namespace CoreModule
{
    /// <summary>
    /// 常量配置
    /// </summary>
    public static class CoreConstant
    {

        /// <summary>
        /// 权限配置
        /// </summary>
        public const string PermissionControllerKey = "PermissionControllerKey";

        /// <summary>
        /// 
        /// </summary>
        public const string MaskKey = "MaskKey";
        /// <summary>
        /// 主区域
        /// </summary>
        public const string MainRegion = "MainRegion";
        /// <summary>
        /// 工具栏
        /// </summary>
        public const string MainToolbar = "MainToolbar";
        /// <summary>
        /// 历史界面
        /// </summary>
        public const string HistoryView = "HistoryView";
        /// <summary>
        /// 分析界面
        /// </summary>

        public const string AnalysisView = "AnalysisView";

        /// <summary>
        /// 空白界面
        /// </summary>
        public const string BlankView = "BlankView";

        /// <summary>
        /// 获取 数据结果Key
        /// </summary>
        public const string BluetoothDataPickerResultKey="BluetoothDataPickerResultKey";

        /// <summary>
        /// 蓝牙界面
        /// </summary>
        public const string BluetoothDataPickerWindow = "BluetoothDataPickerWindow";
         
        /// <summary>
        /// 没有使用
        /// </summary>

        public const string MeasurementListKey = "MeasurementListKey";
        /// <summary>
        /// 没有使用
        /// </summary>
        public const string MeasurementCountKey = "MeasurementCountKey";
        
        /// <summary>
        /// 模块所在目录
        /// </summary>
        public const string ModulesDirectory = "Modules";

        /// <summary>
        /// 关于
        /// </summary>
        public const string AboutWindowView = "AboutWindowView";

        /// <summary>
        /// 关闭 
        /// </summary>
        public const string CloseWindowView = "CloseWindowView";

        /// <summary>
        /// 没有设备值
        /// </summary>

        public const int NotDevice = -100;
         

        public const double MinHighValue = 11.1;

        public const double MinNormalValue = 3.9;


        ///// <summary>
        ///// 在餐前 血糖值正常是的最小值 3.9
        ///// </summary>

        //public const double NormalMinValueOfBefore = 3.9;
        ///// <summary>
        ///// 在餐前 血糖值正常是的最大值
        ///// </summary>
        //public const double NormalMaxValueOfBefore = 6.1;
        ///// <summary>
        ///// 在餐后 血糖值正常是的最小值
        ///// </summary>
        //public const double NormalMinValueOfAfter = 3.9;
        ///// <summary>
        ///// 在餐后 血糖值正常是的最大值
        ///// </summary>
        //public const double NormalMaxValueOfAfter = 7.7;

        ///// <summary>
        ///// 在随机 血糖值正常是的最小值
        ///// </summary>
        //public const double NormalMinValueOfRandom = 3.9;
        ///// <summary>
        ///// 在随机 血糖值正常是的最大值
        ///// </summary>
        //public const double NormalMaxValueOfRandom = 11.1;


    }
}
